<?php
namespace Home\Controller;

use Think\Controller;

class CommonController extends Controller
{
    /**
     * 生成图片验证码
     */
    public function verify()
    {
        $config = array(
            'fontSize' => '30',
            'length' => '4',
            'useNoise' => true,
        );
        $verify = new \Think\Verify($config);
        $verify->entry();
    }


} 